@import "~assets/styles/variables.less";
.box-search .form-group{
  label{
    width: 100px;
    text-align: right;
    font-size: 14px;
  }
  .form-control{
    width: 200px;
    box-sizing: border-box;
    display: inline-block;
    font-size: 14px;
    height: 31px;
    .el-input__inner{
      width: 200px;
      line-height: 30px;
    }
  }
}
.form-control:focus {
  border-color: @base-border;
  box-shadow: none;
}

.btn-primary {
  background-color: @base;
  border-color: @base-border;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.btn-primary.active,
.btn-primary.hover {
  background-color: @base-active !important;
}

.nav-tabs-custom>.nav-tabs>li.active {
  border-top-color: @base;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: @base;
}

.main-header{
  .logo {
    background-color: @base-active !important;
  }
  .navbar {
    background-color: @base !important;
  }
  .sidebar-toggle {
    background-color: @base !important;
    &:hover,&:active,&:focus,&:visited{
      background-color: @base-active !important;
    }
  }
}

@sidebar-bg: darken(@base, 25%);
.main-sidebar {
  background-color: @sidebar-bg !important;
  .sidebar-menu {
    li.active,li:hover {
      a {
        border-left-color: @base-active !important;
      }
    }
    li.active,li:hover,li.menu-open {
      a {
        background: darken(@sidebar-bg, 3%);
      }
    }
    li > a > .pull-right-container {
      margin-top: -8px;
    }
  }
}
.left-side {
  background-color: @sidebar-bg !important;
}
.main-footer {
  padding: 10px;
  text-align: center;
  // border:0;
  // color:#fff;
  // background-color: @base;
  // a {
  //   color: #fff;
  // }
}

.text-primary {
  color: @base-active !important;
}

.btn-primary {
  background-color: @base !important;
  border-color: @base-active !important;
}

.box {
  height: 100%;
  margin:0;
  &.box-primary {
    border-top-color: @base !important;
  }
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  .box-header{
    position: relative;
    flex-grow: 0;
    width: 100%;
  }
  .box-footer{
    flex-grow: 0;
    width: 100%;
  }
  .box-body{
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 10px;
    overflow: hidden;
    &.box-search{
      .form-inline{
        flex-grow: 0;
        .form-group-sm{
          margin-bottom: 5px;
        }
      }
    }
    .my-table{
      flex-grow: 1;
      -webkit-overflow-scrolling: touch;
      th,td{
        padding: 6px 0;
      }
    }
  }
}

.callout.callout-primary, .alert-primary, .label-primary, .modal-primary .modal-body {
  background-color: @base-active !important;
  border-color: @base-active !important;
}

* {
  outline: none !important;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.form-horizontal .form-group label, .form-inline .form-group label {
  font-weight: 400;
}

.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: @base !important;
}

.qcontent-header {
  height: 50px;
  padding:15px 10px 10px 12px;
  background-color: white;
  width: 100%;
  font-weight: bold;
  font-size: 16px;
}